var SiteUrl = "http://bk.shiliang.org/shop";
var ApiUrl = "http://bk.shiliang.org/mo_bile";
var pagesize = 10;
var WapSiteUrl = "http://bk.shiliang.org/wap";
var IOSSiteUrl = "https://itunes.apple.com/us/app/shopnc-b2b2c/id879996267?l=zh&ls=1&mt=8";
var AndroidSiteUrl = "http://bk.shiliang.org/download/app/AndroidShopNCMoblie.apk";
var WeiXinOauth = true;
function getQueryString(name, defult_val) {
	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
	var r = window.location.search.substr(1).match(reg);
	if (r != null) {
		return unescape(r[2]);
	}
	defult_val = undefined ? '' : defult_val;
	return defult_val;
}